package com.joysuch.wwyt.bp.service;

import com.joysuch.wwyt.bp.bean.BpProductionFacilityVideoBean;
import com.joysuch.wwyt.bp.bean.BpSystemVideoAddBean;
import com.joysuch.wwyt.core.common.ajax.ResultBean;
import com.joysuch.wwyt.core.exception.ApiBusinessException;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author xsx
 * @version 1.0
 * @date 2022/10/12 11:40
 */
public interface BpProductionFacilityVideoService {

    ResultBean save(BpProductionFacilityVideoBean bean);

    Page<BpProductionFacilityVideoBean> page(Pageable pageable, Long deviceFacilityId);

    List<BpProductionFacilityVideoBean> findByDeviceFacilityId(Long deviceFacilityId);

    void delete(Long id);

    BpProductionFacilityVideoBean getById(Long id);

    Page<BpSystemVideoAddBean> findVideoPage(Pageable pageable, Long deviceFacilityId);
}
